#pragma once
#include "cocos2d.h"

using namespace cocos2d;

class PauseLayer : public Layer
{
	PauseLayer();
	~PauseLayer();
	static PauseLayer* thisLayer;

	Sprite* pauseMenuSprite;
	EventListener* m_listener;

	void showMenu();
	bool callBack();
	void resumeCallBack();
	void restartCallBack();
	void exitCallBack();
public:
	static void showLayer();
	static void disposeLayer();

	CREATE_FUNC(PauseLayer);
};

